#include "defines.h"

interface INGAME
{
	final int SCROLLING_SPEED = 7;
	final int VIEWPORT_X = 0;
	final int VIEWPORT_Y = 17;//21;
	final int VIEWPORT_W = SCREEN_WIDTH;
	final int VIEWPORT_H = SCREEN_HEIGHT - 10 /*Softkeys height*/ - VIEWPORT_Y;
	final int VIEWPORT_BACKGROUND_COLOR = 0x0060AA;
	
	final int TOKEN_DIAMETER = 18;
	final int TOKEN_BORDER_WIDTH = 2;
	final int TOKEN_TEXT_COLOR = 0xFFFFFF;
	final int TOKEN_BORDER_COLOR = 0x000000;
	
	final int HUD_TEXT_COLOR = 0xFFFFFF;
	final int HUD_COUNTRY_X = SCREEN_WIDTH / 2;
	final int HUD_COUNTRY_Y = 3;
	final int HUD_ARMIES_X = SCREEN_WIDTH - 5;
	final int HUD_ARMIES_Y = HUD_COUNTRY_Y;
	final int HUD_OWNER_X = 5;
	final int HUD_OWNER_Y = 9;
	final int HUD_TURN_X = HUD_OWNER_X;
	final int HUD_TURN_Y = HUD_COUNTRY_Y;
	
	final int ROUND_TYPE_PUT_ARMIES = 0;
	final int ROUND_TYPE_ATTACK = 1;
	
	final int PLAYER_INFO_VIEWPORT_OFFSET = 5;
	final int PLAYER_INFO_Y = VIEWPORT_Y + PLAYER_INFO_VIEWPORT_OFFSET;
	#if SCREEN_WIDTH==128
	final int PLAYER_INFO_W = SCREEN_WIDTH / 8 * 5;
	#else
	final int PLAYER_INFO_W = VIEWPORT_W / 2 - PLAYER_INFO_VIEWPORT_OFFSET * 2;
	#endif
	final int PLAYER_INFO_H = VIEWPORT_H - PLAYER_INFO_VIEWPORT_OFFSET * 2;
	
	final int INGAME_HELP_VIEWPORT_OFFSET = 5;
	
	#if SCREEN_WIDTH==128
	final int OBJECTIVE_W = SCREEN_WIDTH / 3 * 2;
	final int OBJECTIVE_H = (SCREEN_HEIGHT / 7) * 3;
	#else
	final int OBJECTIVE_W = SCREEN_WIDTH / 2;
	final int OBJECTIVE_H = (SCREEN_HEIGHT / 7) * 2;
	#endif
	final int OBJECTIVE_X = SCREEN_WIDTH / 2 - OBJECTIVE_W / 2;
	final int OBJECTIVE_Y = SCREEN_HEIGHT / 2 - OBJECTIVE_H / 2;
	
	#ifdef USE_RMS
	final int LOADING_RMS = 0;
	final int LOADING_PLAYERS = LOADING_RMS + 1;
	final int LOADING_COUNTRIES = LOADING_PLAYERS + 1;
	final int LOADING_IMAGES = LOADING_COUNTRIES + 1;
	final int LOADING_COMPLETE = LOADING_IMAGES + 1;
	#endif
}